const routes = [
    {
        name: "Login",
        path: "/login",
        component: () => import('@/UserLogin')
    },
    {
        name: "Index",
        path: "/index",
        component: () => import('@/Index'),
        children: [
            {
                name: "Product",
                path: "/index/product",
                component: () => import('@/product/product')
            },
            {
                name: "Order",
                path: "/index/order",
                component: () => import('@/order/order')
            },
            {
                name: "User",
                path: "/index/user",
                component: () => import('@/user/user')
            },
            {
                name: "Employee",
                path: "/index/em",
                component: () => import('@/employee/employee')
            }
        ]
    },
    {
        name: "Box",
        path: "/box",
        component: () => import('@/CheckboxTest')
    }
];

export default routes;